package org.example.erp.mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.erp.domain.ProWorkorder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;

import java.util.List;

/**
* @author 86180
* @description 针对表【pro_workorder(生产工单表)】的数据库操作Mapper
* @createDate 2024-12-09 16:05:53
* @Entity org.example.erp.domain.ProWorkorder
*/
public interface ProWorkorderMapper extends BaseMapper<ProWorkorder> {

    Page<ProWorkorder> findPageList(
            @Param("page") Page<ProWorkorder> page,
            @Param(value = "workorderCode") String workorderCode,
            @Param(value = "workorderName") String workorderName,
            @Param(value = "sourceCode") String sourceCode,
            @Param(value = "productCode") String productCode,
            @Param(value = "productName") String productName,
            @Param(value = "clientCode") String clientCode,
            @Param(value = "clientName") String clientName,
            @Param(value = "workorderType") String workorderType,
            @Param(value = "requestDate") Date requestDate
    );

    List <ProWorkorder> find(@Param("workorderCode") String workorderCode);
}




